 Box Message 



Scrolls a message in a textbox. When the user clicks in the box, however, the scrolling text is stopped and the box can be used normally. 
--------------------------------------------------------------------------------
 

<!-- THREE STEPS TO INSTALL BOX MESSAGE:

  1.  Copy the coding into the HEAD of your HTML document
  2.  Add the onLoad event handler into the BODY tag
  3.  Put the last coding into the BODY of your HTML document  -->

<!-- STEP ONE: Paste this code into the HEAD of your HTML document  -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">
<!-- Original:  Keith Swerling (keiths@topixonline.com) -->
<!-- Web Site:  http://www.TopiXonline.com -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
ScrollSpeed = 200;
ScrollChars = 1;

function ScrollMarquee() {
window.setTimeout('ScrollMarquee()', ScrollSpeed);
var msg = document.scrollform.box.value;
document.scrollform.box.value = msg.substring(ScrollChars) + msg.substring(0, ScrollChars);
}
//  End -->
</script>
</HEAD>

<!-- STEP TWO: Insert the onLoad event handler into your BODY tag  -->

<BODY OnLoad="javascript:ScrollMarquee()">

<!-- STEP THREE: Copy this code into the BODY of your HTML document  -->

<center>
<form method=get name=scrollform>
<input name=box type="text" size="15" value="                       Click Here To Search                  " onFocus="javascript:this.value='';ScrollSpeed=99999;">
</form>
</center>

<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size:  1.31 KB -->